File: dont-try-to-%22fix%22-rpath.patch

package info (click to toggle)
keynav 0.20180421~git6505bd0d-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 320 kB
  • sloc: ansic: 1,509; sh: 48; makefile: 47
file content (18 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Don't hack in /usr/local/lib to run path
 This actually reverts the upstream commit cb78c58e ("hack in
 /usr/local/lib to run path"), which caused the lintian error-level
 warning "binary-or-shlib-defines-rpath" to pop up. Accordingly this
 patch fixes this lintian warning again.
Author: Axel Beckert <abe@debian.org>
Forwarded: no

--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,6 @@
 keynav.o: keynav_version.h
 keynav_version.h: version.sh
 
-keynav: LDFLAGS+=-Xlinker -rpath=/usr/local/lib
 keynav: keynav.o
 	$(CC) keynav.o -o $@ $(LDFLAGS) -lxdo; \